package com.roy.eureka.api.service;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import com.roy.eureka.api.dto.LoginDTO;
import com.roy.eureka.api.message.RequestMessage;

@FeignClient("EurekaServerDemo")
public interface SwordRiskService {

	@RequestMapping(value="/SwordRisk/getSwordRiskRes",method=RequestMethod.POST)
	public RequestMessage getSwordRiskRes(RequestMessage request);
	
	@RequestMapping(value="/SwordRisk/loginChk",method=RequestMethod.POST)
	public RequestMessage loginChk(LoginDTO loginDto);
}
